package io.coderyeah.system.mapper;

import io.coderyeah.system.domain.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author coderyeah
 * @description 针对表【t_role】的数据库操作Mapper
 * @createDate 2022-09-21 11:00:07
 * @Entity io.coderyeah.system.domain.Role
 */
@Repository
public interface RoleMapper extends BaseMapper<Role> {

    void addRoleMenu(@Param("roleId") Long roleId, List<Long> menus);

    void deleteRoleMenu(Long id);

    void deleteRolePermission(Long id);

    void deleteRoleEmployee(Long id);
}




